<?php
include"config.php";

	$codex = $_POST['code'];
	$codex = addslashes($codex);
	$detail = $_POST['detail'];
	$status = $_POST['status'];
	$date = $_POST['date'];
	
	//echo($code);
	$sql="insert into tbl_heuristik(id_heuristik, code, detail, date, status)values('', '".$codex."', '$detail', '$date', '$status')";
	$res=mysql_query($sql) or die (mysql_error());
	header("location:index.php?page=heuristik");
?>